package com.hydl.power.mapper;


import com.hydl.power.pojo.Battery;
import com.hydl.power.pojo.CabinetDevice;

import java.util.List;

public interface BatteryMapper {


    List<Battery> getBattery(String directCurrentScreenId);

    CabinetDevice getDirectCurrentScreenDeviceNumber(String directCurrentScreenId, String projectId, String powerRoomId);

    List<CabinetDevice> getDeviceByProjectId(String projectId);

    void addBattery(Battery battery);

    void updateBattery(Integer id, String name, String manufactor, String serialNumber, String modelNumber, String productionTime, String projectId, String projectName, String powerRoomId, String powerRoomName, String directCurrentScreenId, String deviceNumber);

    void deleteBattery(Integer id);
}
